package com.personal.common.util;

/**
 * 状态常量定义类
 * 
 * @author: qms
 * @date: 2015年6月12日 上午10:03:04
 * @version: v1.0
 */
public enum FinalList {
	SUCCESS("0","成功"),
	
	PARAMS_LACK("1101","参数缺失"),
	
	SYS_NOT_ACCREDIT("1201","系统未授权"),
	PRODUCT_NOT_REGISTER("1202","产品未注册"),
	KEY_ERROR("1203","非法请求,key错误"),
	PRODUCT_NOT_ACCREDIT("1204","产品未授权"),
	PRODUCT_PAST_DUE("1205","产品授权已过期"),
	TIMER_OUT("1206","超时请求"),
	SERVICE_FLG_ERROR("1207","接口标识错误"),
	SMS_SEND_ERROR("1208","没有短信发送权限"),
	CHECK_PHONE_FAILED("1209", "请求查询手机号当时是否可以充值失败"),
	CAN_NOT_CHARGE("1210", "手机号码不支持充值"),
	
	BARCODE_NOT_EXIST("1301","二维码不存在"),
	BARCODE_NOT_PRODUCT("1302","二维码对应产品不符"),
	BARCODE_NOT_ACTIVATE("1303","二维码未激活"),
	BARCODE_ERROR_VCODE("1304","验证码错误"),
	BARCODE_ERROR_DES("1305","二维码加密错误"),
	BARCODE_CHARGE("1306","二维码已经充值过"),
	BARCODE_TO_URL("1307","非本系统处理二维码"),
	BARCODE_IS_BINDING("1308","该二维码已绑定过邀请码"),
	INVITECODE_NOT_EXIST("1309","邀请码错误"),
	INVITECODE_NOT("1310","邀请码必须是五位数"),
	
	MEMBER_NOT_EXIST("1401","用户不存在"),
	MEMBER_EXIST("1402","用户已注册"),
	MEMBER_REGISTER("1403","用户注册成功"),
	PASSWORD_ERROR_VCODE("1402","密码错误"),
	
	PRIZE_NULL("1501","中奖记录为空"),
	SCAN_RECORD_NULL("1601","扫码记录为空"),
	
	ORDERID_EXISTS("1701","订单号已经存在"),
	
	
	QUERY_NULL("1801","查询结果为空"),
	
	SYS_ERROR("1901","系统内部错误"),
	
	SYS_DESERROR("1902","加密错误"),
	
	COUPON_SUN_ERROR("2001","同步卡券错误"),
	COUPON_AMOUNT_NOT_ENOUGH("2002","库存数量不足"),
	COUPON_NOT_ACCREDIT("2003","使用该卡卷未授权"),
	
	POINT_NOT_ACCREDIT("3001","查询该积分未授权"),
	POINT_NOT_ENOUGH("3002","积分不足"),
	POINT_RECEIVE_SUCCESS("3003","积分领取成功"),
	POINT_EXCHANGE_SUCCESS("3004","积分兑换成功"),
	POINT_SAVE_FAIL("3005","保存积分流水线记录失败"),
	POINT_UADATE_FALIL("3006","修改积分数量失败");
	
	
	
	private String key;
	private String value;
	
	private FinalList(String key,String value)
	{
		this.key = key; this.value = value;
	}
	
	public String getKey()
	{		
		return this.key;
	}
	
	public String getValue()
	{
		return this.value;
	}
}
